package com.itmuch.cms.admin.persistence;

import java.util.List;

import com.itmuch.cms.admin.domain.Admin;
import com.itmuch.core.persistence.BaseMapper;

public interface AdminMapper extends BaseMapper<Admin> {
    /**
     * 通过用户名查询管理员
     * @param username 用户名
     * @return admin
     */
    Admin selectByUsername(String username);

    List<Admin> selectAll();
}
